import request from '@/router/axios';

export const add = (data) => {
  return request({
    url: '/api/user-api/client/mx-application/save',
    method: 'post',
    data
  })
}

export const update = (data) => {
  return request({
    url: '/api/user-api/client/mx-application/update',
    method: 'post',
    data
  })
}


export const getlist = (params) => {
  return request({
    url: '/api/user-api/client/mx-application/get-list',
    method: 'get',
    params
  })
}


export const del = (data) => {
  return request({
    url: '/api/user-api/client/mx-application/delete',
    method: 'post',
    data: data
  })
}

export const getDetail = (params) => {
  return request({
    url: '/api/user-api/client/mx-application/detail',
    method: 'get',
    params
  })
}

export const getPage = (params) => {
  return request({
    url: '/api/user-api/client/mx-application/page',
    method: 'get',
    params
  })
}
